package com.hhs.storage.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author shadow
 * @since 2018-10-13
 */
@TableName("base_role_user")
@Data
public class BaseRoleUser extends Model<BaseRoleUser> {

    private static final long serialVersionUID = 1L;

    @TableId("id_")
    private String id;
    @TableField("user_id_")
    private String userId;
    @TableField("role_id_")
    private String roleId;
    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
